        <div id="maincontent">
            <?php foreach($products as $product) : ?>
            <div class="sanpham">
                <a href="<?php echo site_url('product/'.$product->product_url);?>"><img src="<?php echo base_url('assets/product_images/product/'.$product->product_image);?> " /></a>
                <a class="mua" href="<?php echo site_url('cart/add_cart/' . $product->product_id); ?>">Add Cart</a>
                <h2 class="gia">Gia <?php echo $product->product_price; ?></h2>
                <h2 class="ten"> <a href="<?php echo site_url('product/'.$product->product_url);?>"><?php echo $product->product_name;?></a></h2>
            </div>
            <?php endforeach ?>
        </div><!--end maincontent-->
    </div><!--end warper-->
